package old.gameAppLayer;



public class GameCodeError extends Throwable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
	private GCERROR code;
	private GCSOLUTION solution ;
	
	public GameCodeError(GCERROR err) {
		this.code = err;		
	}
	
	public GCERROR getCode(){
		return code;
	}
	
	
	//Handles each error, providing a solution for the calling code to act on
	public GCSOLUTION handle() {
		//TBD assignment of solution
		
		return solution;
	}
	
	

}
